package com.doublecheck.project.client;

import java.util.ArrayList;

public class StackedBarChart_Dataset implements Dataset {

	/*add method for an item*/
	private ArrayList<Item> dataset;
	
	/*Constructor*/
	public StackedBarChart_Dataset(){
		dataset = new ArrayList<Item>();
	}	
	/*add method for an item*/
	public void addItem(String cate, Double val0, Double val1, Double val2){
		Item item = new Item(cate, val0, val1, val2);		
		this.dataset.add(item);
	}	
	/*get dataset*/
	public ArrayList<Item> getDataset(){
		return dataset;
	}
}
